#define _CRT_SECURE_NO_WARNINGS
#pragma once
#include <stdio.h>
#include <memory.h>
#include <stdlib.h>
#include <assert.h>


#define ElemType int
#define MAXSIZE 100

typedef struct Triple {
	int i, j;
	ElemType e;
}Triple;

typedef struct SMatrix {
	Triple data[MAXSIZE];
	size_t mu, nu, tu;
} SMatrix;